﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    x:Class="RoofusUIControls.InputPinSpecification"
    Height="Auto" Width="300" Name="dude">
    <DockPanel LastChildFill="False">
        <Label DockPanel.Dock="Top" Name="InputPinName">Place-Holder</Label>
        <DockPanel DockPanel.Dock="Top" LastChildFill="False">
            <Label DockPanel.Dock="Left">Source:</Label>
            <ComboBox DockPanel.Dock="Left" Name="SourceObject" ItemsSource="{Binding ElementName=dude, Path=InputConnections}">
                <ComboBox.ItemTemplate>
                    <DataTemplate>
                        <Label Content="{Binding SourceName}"/>
                    </DataTemplate>
                </ComboBox.ItemTemplate>
            </ComboBox>
            <ComboBox DockPanel.Dock="Left" IsEditable="False" IsReadOnly="True"/>
        </DockPanel>
        <Border DockPanel.Dock="Top" BorderBrush="Aquamarine"></Border>
    </DockPanel>
</UserControl>
